window.updateappService = {
	execute: function(action, successCallback, errorCallback) {
		cordova.exec(    
			function(jsonObj) {
				successCallback(jsonObj);
			}, 
			function(err){
				errorCallback(err);
			},
			"UpdateApp",
			action,
			[]
		)
	},
	updateapp: function(successCallback, errorCallback) {
		this.execute("updateapp", successCallback, errorCallback);
	}
}
module.exports = updateappService;